﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sagacious.Entities;

namespace Sagacious.DataSources
{
    public class LogEntryDataSource : ILogEntryDataSource
    {
        private HashSet<ILogEntry> logEntries;

        public LogEntryDataSource()
        {
            logEntries = new HashSet<ILogEntry>();
        }

        public void AddLogEntry(ILogEntry entry)
        {
            logEntries.Add(entry);
        }


        public System.Collections.IEnumerable LogEntries
        {
            get
            {
                return logEntries;
            }
        }
    }
}
